﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Application_Controls_MessageAlert : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

	/// <summary>
	/// The message to be displayed.
	/// </summary>
	public string Text
	{
		get { return LiteralMessage.Text; }
		set { LiteralMessage.Text = value; }
	}

	/// <summary>
	/// The description to be displayed.
	/// </summary>
	public string Description
	{
		get { return LiteralForDescription.Text; }
		set { LiteralForDescription.Text = value; }
	}

	public override bool Visible
	{
		get
		{
			return base.Visible;
		}
		set
		{
			base.Visible = value;
			tableMessage.Visible = value;
		}
	}
}
